#include<iostream>
#include<cstdio>
#include<cstring>
#include<unistd.h>

int main()
{
    //库函数
    printf("Hello printf\n");
    fprintf(stdout, "Hello fprintf\n");
    const char* msg1 = "Hello fwrite\n";
    fwrite(msg1, strlen(msg1), 1, stdout);

    //系统调用
    const char* msg2 = "Hello write\n";
    write(1, msg2, strlen(msg2));

    fork();

    return 0;
}
